<template>
  <div id="app">
    <router-view />
    <MyTabbar v-if="$route.meta.ifShowTabbar" />
  </div>
</template>

<script>
import MyTabbar from './components/MyTabbar.vue'
export default {
  name: 'App',
  components: {
    MyTabbar
  }
}
</script>

<style>
#app {
  /* font-family: Avenir, Helvetica, Arial, sans-serif; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #efefef;
  min-height: 100%;
  font-family: "黑体","宋体",sans-serif;
  color: #333;
}


body {
  font-size: .14rem;
  min-width: 320px;
  max-width: 800px;
  margin: 0 auto !important;
}

html, body {
  height: 100%;
}

@media screen and (min-width: 320px) {
  html {
    font-size: 100px;
  }
}
@media screen and (min-width: 640px) {
  html {
    font-size: 150px;
  }
}
</style>
